JAVADIR=/usr/share/java
JARNAME=sonet-textui-manager

all:
	(cd src; javac -cp $(JAVADIR)/po-uilib.jar:$(JAVADIR)/sonet-textui-support.jar:$(JAVADIR)/sonet-core.jar -encoding UTF-8 `find . -name \*.java`)
	(cd src; jar cvf ../$(JARNAME).jar `find . -name \*.class -o -name \*.java`)

clean:
	$(RM) $(JARNAME).jar `find . -name \*.class`

install:
	/bin/cp $(JARNAME).jar $(JAVADIR)
